package com.mycompany.tpfinal.abm;

import java.sql.Connection;
import java.io.*;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Properties;


public class ConnectionHQSLFactory implements ConnectionFactory {
       
    //Constructor
    public ConnectionHQSLFactory() {
    }       

    //Métodos
    public Connection creaConexion(String conexion) throws Exception {
        Connection connection = null;
        Class.forName("org.hsqldb.jdbcDriver");
        
        connection = DriverManager.getConnection(conexion);
        return connection;
    }       
}
    

